use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct SegmentList {
    pub name: String,
    pub description: String,
}

#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct SegmentListItem {
    pub segment_list_id: String,
    #[serde(flatten)]
    pub inner: SegmentList,
}